package com.xlh.pojo.course;

import java.io.Serializable;
import java.util.Date;

public class ChapterCourseSort implements Serializable {
    /**
     * 课程分类和章节的关联关系
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * 课程分类id
     *
     * @mbg.generated
     */
    private Long courseSortId;

    /**
     * 章节id
     *
     * @mbg.generated
     */
    private Long chapterId;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCourseSortId() {
        return courseSortId;
    }

    public void setCourseSortId(Long courseSortId) {
        this.courseSortId = courseSortId;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", courseSortId=").append(courseSortId);
        sb.append(", chapterId=").append(chapterId);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}